<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: shanpengfei
  Date: 2019/2/28
  Time: 5:58 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="basePath" value="/gyp"></c:set>

<jsp:include page="../../template_header.jsp"></jsp:include>

<div class="list-content">
    <c:forEach items="${pl}" var="list">
        <div class="list-item fl">
            <div class="item-text" title="${list.goods.name}">工艺品名称：${list.goods.name}</div>
            <div class="item-text" title="${list.user.username}">评论人：${list.user.username}</div>
            <div class="item-text" title="${list.content}">评论内容：${list.content}</div>
            <div class="item-text" title="<fmt:formatDate value="${list.createAt }" pattern="yyyy-MM-dd HH:mm:ss"/>">评论时间：<fmt:formatDate value="${list.createAt }" pattern="yyyy-MM-dd"/></div>


        </div>
    </c:forEach>
    <div class="clear"></div>
</div>


<jsp:include page="../../template_footer.jsp"></jsp:include>
